<template>
  <footer>
    Copyright © 2014 todolist.cn
    <a href="javascript:;" @click="delAll">clear</a>
  </footer>
</template>

<script>
export default {
  setup(props, { emit }) {
    const delAll = () => {
      emit("delAll");
    };
    return delAll;
  },
};
</script>

<style></style>
